The Imagick class
PHP Manual

Imagick::whiteThresholdImage

(PECL imagick 2.0.0)

Imagick::whiteThresholdImageForce all pixels above the threshold into white

Descripción

bool Imagick::whiteThresholdImage ( mixed $threshold )
Warning

Esta función no está documentada actualmente, solamente se encuentra disponible la lista de parámetros.

Is like Imagick::ThresholdImage() but force all pixels above the threshold into white while leaving all pixels below the threshold unchanged.

Lista de parámetros

threshold

Valores retornados

Returns TRUE on success.

Registro de cambios

Versión Descripción
2.1.0 Now allows a string representing the color as a parameter. Previous versions allow only an ImagickPixel object.


The Imagick class
PHP Manual